package com.kotlin.demo

fun main() {
    notNull()

    notFalse()

}

private fun notFalse() {
    var value2: Boolean = false
    require(value2)
}

private fun notNull() {
    var value1: String? = null

    checkNotNull(value1)
    requireNotNull(value1)
}